<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html>
<html lang="en">
  <head>
    <base href="<%=basePath%>">
    
    <title>贸城合同储存系统</title>
    
	<!-- 开始的快捷图标 -->
        <link rel="shortcut icon" href="assets/images/gallery/favicon.ico" type="image/x-icon">
	<!-- basic styles -->
	<link href="assets/css/bootstrap.min.css" rel="stylesheet" />
	<link rel="stylesheet" href="assets/css/font-awesome.min.css" />
	<!-- fonts -->
	<!-- <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:400,300" /> -->
	<!-- ace styles -->
	<link rel="stylesheet" href="assets/css/ace.min.css" />
	<link rel="stylesheet" href="assets/css/ace-rtl.min.css" />
		
	<!--[if IE 7]>
		  <link rel="stylesheet" href="assets/css/font-awesome-ie7.min.css" />
		<![endif]-->
	<!--[if lte IE 8]>
		  <link rel="stylesheet" href="assets/css/ace-ie.min.css" />
		<![endif]-->
	<!--[if lt IE 9]>
		<script src="assets/js/html5shiv.js"></script>
		<script src="assets/js/respond.min.js"></script>
		<![endif]-->
  </head>
  
  <body class="login-layout" style="background: #02bac6 url(assets/images/gallery/40.jpg)">
		<div class="main-container">
			<div class="main-content">
				<div class="row">
					<div class="col-sm-10 col-sm-offset-1">
						<div class="login-container">
							<div class="center">
								<br><br><br><br>
								<h1>
									<i class="icon-leaf green"></i>
									
									<span class="white">贸城合同储存系统</span>
								</h1>
								
							</div>

							<div class="space-6"></div>

							<div class="position-relative">
								<div id="login-box" class="login-box visible widget-box no-border">
									<div class="widget-body">
										<div class="widget-main">
											<h4 class="header blue lighter bigger">
												<i class="icon-coffee green"></i>
												请输入个人信息
											</h4>

											<div class="space-6"></div>

								      <form action="./checkLogin" method="post">
										  <fieldset>
												<label class="block clearfix"> 
												   <span class="block input-icon input-icon-right"> 
													  <input type="text" name="username" class="form-control" placeholder="用户名" required/> 
														<i class="icon-user"></i>
												   </span>
												</label> 
												<label class="block clearfix"> 
												   <span class="block input-icon input-icon-right"> 
												      <input type="password" name="password" class="form-control" placeholder="密码" required/> <i class="icon-lock"></i>
												   </span>
												</label>
												<div class="space"></div>
												<c:if test="${no!=null}">
													<font style="color: red;">${no}</font>
												</c:if>
												<c:if test="${msg!=null}">
													<font style="color: red;">${msg}</font>
												</c:if>
												<div class="space"></div>

												<div class="clearfix">
													<label class="inline"> 
													       <input type="checkbox" class="ace" checked/>
													       <span class="lbl"> 记住我 </span>
													</label>

													<button type="submit" class="width-35 pull-right btn btn-sm btn-primary">
														<i class="icon-key"></i> 
														登录
													</button>
												</div>

												<div class="space-4"></div>
									    </fieldset>
								    </form>

									</div>

										
									</div>
								</div>

							</div>
						</div>
					</div>
				</div>
			</div>
		</div>

        <script src='assets/js/jquery-2.0.3.min.js'></script>
        <script src='assets/js/jquery.mobile.custom.min.js'></script>	
</body>
</html>
